package main.java.com.fxy.service.impl;


import main.java.com.fxy.dao.UserDao;
import main.java.com.fxy.dao.impl.UserDaoImpl;
import main.java.com.fxy.pojo.User;
import main.java.com.fxy.service.UserService;

public class UserServiceImpl implements UserService {
    private UserDao userDao = new UserDaoImpl();

    @Override
    public boolean login(User user) {
        return userDao.login(user);
    }

    @Override
    public boolean regist(User user) {
        return userDao.regist(user);
    }
}
